<template>
    <div class="common-layout">
        <el-container>
            <el-header style="background-color: aquamarine;">[图标]智慧城市</el-header>
            <el-container>
                <el-aside width="200px">
                    <!-- 左侧菜单 -->
                    <el-menu active-text-color="#ffd04b" background-color="#545c64" class="el-menu-vertical-demo"
                        default-active="2" text-color="#fff" router>
                        <el-sub-menu index="1">
                            <template #title>
                                <el-icon>
                                    <location />
                                </el-icon>
                                <span>基础数据</span>
                            </template>
                            <el-menu-item index="adminsetting">管理员设置</el-menu-item>
                        </el-sub-menu>
                        <el-sub-menu index="2">
                            <template #title>
                                <el-icon>
                                    <location />
                                </el-icon>
                                <span>网格管理</span>
                            </template>
                            <el-menu-item index="physicalgrid">物理网格</el-menu-item>
                            <el-menu-item index="wuli">物理网格(新)</el-menu-item>
                        </el-sub-menu>

                    </el-menu>

                </el-aside>
                <el-main>

                    <!-- 放路由视图 -->
                    <RouterView />
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>